package com.kk.execcmd;

import cn.hutool.core.util.RuntimeUtil;

import java.io.IOException;

public class ExecCmd {
    public static void main(String[] args) throws IOException {
        RuntimeUtil.execForLines("cmd.exe /c start D:/O_O/Desktop/ping.bat");
//        Runtime.getRuntime().exec("cmd.exe /c start D:/O_O/Desktop/ping.bat");
    }
}
